<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>

<div>
    <p th:text="${msg}"></p>
    <form action="/login" method="get">
        <p>用户名：</p><input type="text" name="username">
        <p>密码：</p><input type="password" name="password">
        <input type="submit" value="登录">
    </form>
</div>

</body>
</html>